<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    
    <xsl:template match="HeaderAndClass">
        
        <html>
            <head>
                <title>
                    Info for <xsl:value-of select="HeaderInfo/ProjectName"/>
                </title>
                
                <style>
                    
                    
                    <![CDATA[
                    
                    body {
                        font-family:Verdana;
                        
                    }
                    
                    ul {
                        font-size:18px;
                    }
                    
                    ul li {
                        padding-bottom:10px;
                        font-weight:bold;
                    }
                    
                    ul li ul li {
                        padding-bottom:1px;
                        font-weight:normal;
                    }
                    
                    ul li ul li span {
                        color:#9A9A9A;
                    }
                    
                    ]]>
                    
                </style>
            </head>
            
            <body>
                
                <h1><xsl:value-of select="HeaderInfo/ProjectName"/></h1>
                <h2>
                    Output: <xsl:value-of select="HeaderInfo/Output"/><br/>
                    Conn: <xsl:value-of select="HeaderInfo/DBConnection"/><br/>
                    Prefix: <xsl:value-of select="HeaderInfo/Prefix"/><br/>
                    Created: <xsl:value-of select="HeaderInfo/Created"/>
                </h2>
                
                <ul>
                   <xsl:for-each select="Classes/Class">
                       <li><xsl:value-of select="Name"/>
                        <ul>
                            <xsl:for-each select="ClassAttribs/ClassAttributes">
                                <li><xsl:value-of select="PropertyName"/><xsl:if test="CType!='single'">[]</xsl:if> - <span><xsl:value-of select="Type"/> <xsl:if test="ToString='true'"> - ToString()</xsl:if></span></li>
                                
                            </xsl:for-each>
                            
                        </ul>
                       </li>
                   </xsl:for-each>
                    
                    
                </ul>
                
                
            </body>
            
            
        </html>
        
    </xsl:template>
    
</xsl:stylesheet>